using Cheng;
using Cheng.UI;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityGameFramework.Runtime;
using GameEntry = Cheng.GameEntry;
using UniRx;
using System;

public class LogoForm : UGuiForm
{
    /*声明*/
	private Text l_textEx;
    protected override void OnInit(object userData)
    {
        base.OnInit(userData);
        /*绑定*/
		l_textEx = transform.Find("Logo/TextEx").GetComponent<Text>();
        /*绑定方法*/
        Observable.Timer(TimeSpan.FromSeconds(1))
        .Subscribe(
            (_) => {
                GameEntry.Event.Fire(this,  CustomBaseEventArgs.Create("LogoAnimationOver"));
            }
        ).AddTo(this);

        /*接收消息*/
    }

    /*方法*/
	
}
